<template>
  <div>
    <nav-bar></nav-bar>
    <div class="page-main">
      todo
    </div>
  </div>
</template>

<script>
  import { NavBar } from 'views/layout'
  import { getPaper } from 'api/common'
  export default {

    name: 'practise-detail',
    components: {
      NavBar
    },
    data() {
      return {

      };
    },
    created() {
      const { id } = this.$route.query
      getPaper({
        pid: id
      })
      .then(res => {
        console.log(res)
      })
      .catch(err => {
        console.log(err)
        this.$message({
          message: err.msg,
          type: 'error'
        })
      })
    },
    methods: {
      
    }
  };
</script>

<style lang="css" scoped>
</style>